"""
状态 枚举类
"""

from utils.enum.base import XIntegerChoices

__all__ = [
    "PostStatus",  # ->     发布状态 枚举类
    "PublicLevel",  # ->    公开级别 枚举类
]


class PublicLevel(XIntegerChoices):
    """ 公开级别 枚举类 """

    PRIVATE = 0, "私密"
    PUBLIC = 1, "公开"


class PostStatus(XIntegerChoices):
    """ 发布状态 枚举类 """

    DRAFT = 0, "草稿"
    PUBLISHED = 1, "已发布"
